import ReactDOM from 'react-dom/client'
import Hello from './Hello'
import Demo from './Demo'

// ReactDOM.render(element, document.getElementById('root'))

ReactDOM.createRoot(document.getElementById('root')).render(
  <>
    <Hello count={null} msg="hello react" num1="1" num2={2}></Hello>
    <Demo
      flag={true}
      fn={() => console.log(1111)}
      arr={[1, 2, 3, 4]}
      obj={{ name: 'zs' }}
      jsx={<span>123</span>}
    ></Demo>
  </>
)
